package com.ruoyi.repairCheck.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 维修金额审核对象 house_repair_check
 *
 * @author ruoyi
 * @date 2023-05-27
 */
public class HouseRepairCheck extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 审核id
     */
    private Long checkId;

    /**
     * 房屋编号
     */
    @Excel(name = "房屋编号")
    private String houseId;

    @Excel(name = "小区名称")

    private String areaName;
    @Excel(name = "工程名称")
    private String projectName;
    /**
     * 工程名称
     */
    @Excel(name = "楼宇名称")
    private String groupName;
    /**
     * 工程名称
     */
    @Excel(name = "单元名称")
    private String unitName;
    @Excel(name = "户名称")
    private String doorName;


    /**
     * 工程编号
     */
    @Excel(name = "工程编号")
    private String projectId;

    /**
     * 审批状态，repair004,0：审批通过，1：审批拒绝
     */
    @Excel(name = "审批状态",readConverterExp = "0=审批通过,1=审批拒绝")
    private String checkSts;

    /**
     * 分摊金额
     */
    @Excel(name = "分摊金额")
    private BigDecimal repairMoney;

    /**
     * 修改金额
     */
    @Excel(name = "修改金额")
    private BigDecimal updateMoney;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /**
     * 修改人
     */
    @Excel(name = "修改人")
    private String updater;

    public Long getCheckId() {
        return checkId;
    }

    public void setCheckId(Long checkId) {
        this.checkId = checkId;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getCheckSts() {
        return checkSts;
    }

    public void setCheckSts(String checkSts) {
        this.checkSts = checkSts;
    }

    public BigDecimal getRepairMoney() {
        return repairMoney;
    }

    public void setRepairMoney(BigDecimal repairMoney) {
        this.repairMoney = repairMoney;
    }

    public BigDecimal getUpdateMoney() {
        return updateMoney;
    }

    public void setUpdateMoney(BigDecimal updateMoney) {
        this.updateMoney = updateMoney;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("checkId", getCheckId())
                .append("houseId", getHouseId())
                .append("areaName", getAreaName())
                .append("groupName", getGroupName())
                .append("unitName", getUnitName())
                .append("doorName", getDoorName())
                .append("projectName",getProjectName())
                .append("projectId", getProjectId())
                .append("checkSts", getCheckSts())
                .append("repairMoney", getRepairMoney())
                .append("updateMoney", getUpdateMoney())
                .append("updateDate", getUpdateDate())
                .append("updater", getUpdater())
                .toString();
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getDoorName() {
        return doorName;
    }

    public void setDoorName(String doorName) {
        this.doorName = doorName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }
}
